package net.zjitc.service;

import net.zjitc.domain.product;

import java.sql.SQLException;
import java.util.List;

/**
 * @Author admin
 * @Date 2019/2/25 10:50
 */
public interface ProductService {
    List<product> findAll() throws SQLException;

    void delete(String pid) throws SQLException;

    void add(product product) throws SQLException;

    product findByID(int pid) throws SQLException;

    void edit(product product, String pid) throws SQLException;
}
